package com.aliang.shopping.log.annotation;

import com.aliang.shopping.log.enums.LoginType;

import java.lang.annotation.*;

/**
 * 自定义登录日志记录注解
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LogLogin {

    /**
     * 登录方式
     *
     */
    LoginType loginType() default LoginType.ACCOUNT;
}
